package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.admin.dto.PlanCheckStatisticsQueryDTO;
import org.springblade.modules.admin.entity.MaintainPlanContentUser;
import org.springblade.modules.admin.entity.MaintainPlanUserDayCount;

import java.util.List;

public interface MaintainPlanUserDayCountMapper extends BaseMapper<MaintainPlanUserDayCount> {

    List<MaintainPlanContentUser> wxHistoryAddDayCount();

    List<MaintainPlanUserDayCount> selectPlanStatusByUserDate(@Param("queryDTO") PlanCheckStatisticsQueryDTO queryDTO);

	List<MaintainPlanUserDayCount> selectPlanTimelinessByUserDate(@Param("queryDTO") PlanCheckStatisticsQueryDTO queryDTO);

	List<MaintainPlanUserDayCount> selectPlanOverdueByUserDate(@Param("queryDTO") PlanCheckStatisticsQueryDTO queryDTO);
}
